package com.ctshk.rpc.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 发起人范围配置
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_approval_setting_sponsor")
@ApiModel(value="SysApprovalSettingSponsor对象", description="发起人范围配置")
public class SysApprovalSettingSponsor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属配置")
    private Long settingId;

    @ApiModelProperty(value = "发起者类型(1 部门 2 人员)")
    private Integer sponsorType;

    @ApiModelProperty(value = "发起者ID")
    private Long sponsorObjectId;

    @ApiModelProperty(value = "发起者名称")
    private String sponsorObjectName;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
